﻿
    using System;
    using System.Data.SqlClient;
    using System.Collections.Generic;

namespace FShop.DAL
{
	/// <summary>
	/// BaseObject is Base Object For Data Access Layer  
	/// </summary>
	public class BaseObject {

        #region Constructor
        public BaseObject()
        {
        }
        #endregion

        #region Persist Methods
        public System.Data.SqlClient.SqlConnection CreateConnection()
        {
            return new SqlConnection(System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"].ToString());
        }
        #endregion
      }

}
